import request from '@/utils/request'

export function showExcelPersonList(query) {
  return request({
    url: '/excellent/person/show',
    method: 'get',
    params: query
  })
}

export function deleteExcelPerson(personId) {
  return request({
    url: '/excellent/person/remove',
    method: 'get',
    params: { 'personId': personId }
  })
}

export function saveOrUpdateExcelPerson(data) {
  return request({
    url: '/excellent/person/save',
    method: 'post',
    data
  })
}

export function updateRank(data) {
  return request({
    url: '/excellent/person/rank',
    method: 'post',
    data
  })
}
